package com.example.obsever;

/**
 * Created by qw on 2017/3/3.
 */

public class Jiang extends Obsever<Integer> {

    public Jiang(Subject subject) {
        super(subject);
    }

    @Override
    public void notifyed(Integer integer) {
        super.notifyed(integer);
        System.out.println("大妈告诉我鸡腿做好了，需要给张同学留几个");
    }
}
